/*
* Poppy Game Engine - https://pgetemplate.googlecode.com/svn/
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* Copyright (c) 2008 Poppy
*/

#pragma once

#include "SystemDefines.h"
#include "SystemExportSymbol.h"
#include "CMemObject.h"

namespace PGESystem
{

	enum TIME_UNIT
	{
		MSEL = 0,
		SEC = 1,
		MICRO = 2
	};

	class PGESYSTEM_API ITimer
	{
	public:

		virtual void SetDeltaTime( const float* time, TIME_UNIT unit, const PGE_TICK_RESOLUTION* tickresolu, const PGE_CURRENT_TICK* deltatick ) = 0;

		virtual bool ProcessPerTime() = 0;

		virtual ~ITimer() {}

	};

	typedef ITimer ITIMER,*LPITIMER;

}
